package com.avocado.actor;

import com.avocado.message.Message;
import com.avocado.stats.ActorStats;

/**
 * @author avocado
 * @date 2023/5/28 21:34
 */
public interface Actor {

    long getGroupId();

    void setGroupId(long groupId);

    long getId();

    void setId(long id);

    ActorStats getActorStats();

    boolean tell(Message message);

    boolean isActive();

    void active();

    void deactive();

}
